<?php
$foo = array("one" => 1);
?>
<?php if($foo) { ?>
<?=$foo\["one"\]?>
<?php } ?>
We get a parse error on the line
<?=$foo\["one"\]?>
Says it expects a <?php.
Submitted | brianlmoon - 2012-05-03 14:53:24 | Assigned | |
---|---|---|---|
Priority | 5 | Labels | |
Status | open | Group | |
Resolution | None |
2012-05-03 14:53:47 brianlmoon |
- **summary**: Parse error reported incorrectly --> Parse error reported incorrectly (PHPParser) |
---|